package com.onlinesys.service;

import java.sql.SQLException;
import java.util.List;

import com.onlinesys.beans.UserInfo;

public interface UserService {
    public List<UserInfo> getUsers() throws SQLException;
    
    public UserInfo getUserById(String userId) throws SQLException;

    public void addUser(UserInfo userInfo) throws SQLException;
    
    public void updateUser(UserInfo userInfo) throws SQLException;
    
    public void deleteUser(String userId) throws SQLException;
}
